package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 整改下发对象 sj_order_history
 * 
 * @author zrr
 * @date 2024-11-06
 */
public class SjOrderHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID编码 */
    private Integer id;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String name;

    @Excel(name = "模型名称")
    private String createMonth;

    /** 模型ID */
    @Excel(name = "模型ID")
    private String modelId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String department;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problem;

    /** 部门编码 */
    @Excel(name = "部门编码")
    private String departmentCode;

    /** 异常类型（0金额1项目2违规） */
    @Excel(name = "异常类型", readConverterExp = "0=金额1项目2违规")
    private String exceptionType;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCreateMonth(String createMonth)
    {
        this.createMonth = createMonth;
    }

    public String getCreateMonth()
    {
        return createMonth;
    }
    public void setModelId(String modelId) 
    {
        this.modelId = modelId;
    }

    public String getModelId() 
    {
        return modelId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setDepartmentCode(String departmentCode) 
    {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentCode() 
    {
        return departmentCode;
    }
    public void setExceptionType(String exceptionType) 
    {
        this.exceptionType = exceptionType;
    }

    public String getExceptionType() 
    {
        return exceptionType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("modelId", getModelId())
            .append("department", getDepartment())
            .append("problem", getProblem())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("departmentCode", getDepartmentCode())
            .append("exceptionType", getExceptionType())
            .toString();
    }
}
